package com.taru.university.service;


import com.taru.university.model.User;
import org.apache.ibatis.annotations.Param;

public interface UserService {
    User queryUserById(String userId);

    User login(@Param("userName")String userName, @Param("userPassword")String userPassword, @Param("userSort")String userSort);

    void updateUserById(User user);

    void insertUser(User user);

    void updateUserByQuestion(User user);
}
